//
//  HMSportMapViewController.h
//  XRSport
//
//  Created by acer on 16/10/21.
//  Copyright © 2016年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HMSportTracking.h"
@class HMSportMapViewController;
@protocol HMSportMapViewControllerDelegate <NSObject>

/**
 代理方法，将运动数据传递到监控控制器

 @param vc 当前控制器
 */
-(void)sportMapDataChanged:(HMSportMapViewController *)vc;

@end
@interface HMSportMapViewController : UIViewController
//设置代理属性
@property (nonatomic, weak) id<HMSportMapViewControllerDelegate> delegate;
//轨迹运动，追踪模型
@property(nonatomic, strong) HMSportTracking *sportTracking;
//地图视图
@property (nonatomic, weak) MAMapView *mapView;
@end
